package ink.ykb.demo.user.entity;
import java.io.Serializable;
import java.util.Date;

import org.beetl.sql.core.annotatoin.Table;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
/* 
* 用户表
* gen by beetlsql 2019-09-20
*/
@Table(name="test.user_info")
public class UserInfo  implements Serializable {
	
	private static final long serialVersionUID = 1L;
	// alias
	public static final String ALIAS_id = "id";
	public static final String ALIAS_status = "status";
	public static final String ALIAS_password = "password";
	public static final String ALIAS_user_name = "user_name";
	public static final String ALIAS_create_time = "create_time";
	
	/*
	主键
	*/
	@JsonSerialize(using=ToStringSerializer.class)
	private Long id ;
	/*
	状态，0：无效，1：有效
	*/
	private Integer status ;
	/*
	密码
	*/
	@JsonIgnore
	private String password ;
	/*
	账号
	*/
	private String userName ;
	/*
	创建时间
	*/
	private Date createTime ;
	
	public UserInfo() {
	}
	
	/**
	* 主键
	*@return 
	*/
	public Long getId(){
		return  id;
	}
	/**
	* 主键
	*@param  id
	*/
	public void setId(Long id ){
		this.id = id;
	}
	
	/**
	* 状态，0：无效，1：有效
	*@return 
	*/
	public Integer getStatus(){
		return  status;
	}
	/**
	* 状态，0：无效，1：有效
	*@param  status
	*/
	public void setStatus(Integer status ){
		this.status = status;
	}
	
	/**
	* 密码
	*@return 
	*/
	public String getPassword(){
		return  password;
	}
	/**
	* 密码
	*@param  password
	*/
	public void setPassword(String password ){
		this.password = password;
	}
	
	/**
	* 账号
	*@return 
	*/
	public String getUserName(){
		return  userName;
	}
	/**
	* 账号
	*@param  userName
	*/
	public void setUserName(String userName ){
		this.userName = userName;
	}
	
	/**
	* 创建时间
	*@return 
	*/
	public Date getCreateTime(){
		return  createTime;
	}
	/**
	* 创建时间
	*@param  createTime
	*/
	public void setCreateTime(Date createTime ){
		this.createTime = createTime;
	}
	

}
